<form action="#" onsubmit="return false;">
    <ul> 
        {{#each tabs as |tab|}}
        <li {{bind-attr class="tab.active:active"}}><a {{action "toggleTab" tab}}>{{tab.title}}</a></li>
        {{/each}}
    </ul> 

    <div {{bind-attr class=":alert licenseTip::hide"}}><strong>{{licenseTip}}</strong></div>
       
    <div class="tab-content"> 
        <div {{bind-attr class="tabs.0.active:active :tab-pane"}}>  
            <div class="div-prepend">
                <span class="username">客户名称</span>
                {{input class="userNameInput input" value=tempUserName}}                 
            </div>              
            <button class="btn btn-primary license-btn-ok" {{action "applyLicense"}}>确定</button>
        </div> 

        <div {{bind-attr class="tabs.1.active:active :tab-pane"}}> 
            <div class="div-prepend">
                <input id="drlicense" type="file" value="导入license"/> 
            </div>               
            <button class="btn btn-primary license-btn-ok" {{action "loadLicense"}}>确定</button>         
        </div> 
    </div>
</form>